package com.ml.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author virgli
 * @since 2020-08-27
 */
public class SysSetting extends Model<SysSetting> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 设置属性名
     */
    private String fieldName;

    /**
     * 设置属性值
     */
    private String fieldValue;

    /**
     * 属性含义
     */
    private String fieldDetail;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }
    public String getFieldValue() {
        return fieldValue;
    }

    public void setFieldValue(String fieldValue) {
        this.fieldValue = fieldValue;
    }
    public String getFieldDetail() {
        return fieldDetail;
    }

    public void setFieldDetail(String fieldDetail) {
        this.fieldDetail = fieldDetail;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "SysSetting{" +
        "id=" + id +
        ", fieldName=" + fieldName +
        ", fieldValue=" + fieldValue +
        ", fieldDetail=" + fieldDetail +
        "}";
    }
}
